package com.wmm.bean;

public class Student {
    /**
     * 学号
     */
    private int id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private String sex;

    /**
     * 出生日期
     */
    private String birthday;

    /**
     * 邮箱
     */
    private String mailbox;

    /**
     * 备注
     */
    private String memo;

    private String classNo; //班级编号

    public Student() {
    }

    public Student(int id, String name, String sex, String birthday, String mailbox, String memo, String classNo) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.mailbox = mailbox;
        this.memo = memo;
        this.classNo = classNo;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getMailbox() {
        return mailbox;
    }

    public void setMailbox(String mailbox) {
        this.mailbox = mailbox;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getClassNo() {
        return classNo;
    }

    public void setClassNo(String classNo) {
        this.classNo = classNo;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                ", mailbox='" + mailbox + '\'' +
                ", memo='" + memo + '\'' +
                ", classNo='" + classNo + '\'' +
                '}';
    }
}
